#ifndef _UIAPPLICATIONDELEGATE_H_
#define _UIAPPLICATIONDELEGATE_H_

class UIApplication;
class QUrl;

class UIApplicationDelegate {
    public:
        UIApplicationDelegate();
        virtual ~UIApplicationDelegate();

        virtual void applicationDidFinishLaunching (UIApplication *application);
        virtual void applicationWillTerminate (UIApplication *application);
        virtual void applicationDidReceiveMemoryWarning (UIApplication *application);
        
        virtual bool applicationHandleOpenUrl (UIApplication *application, 
                                               const QUrl& url);

        
};

typedef void (*UIMainFunction) (int argc, char **argv);
int UIApplicationMain (int argc, char **argv, UIApplicationDelegate *appDelegate);

#endif /* !_UIAPPLICATIONDELEGATE_H_ */

